* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: "Dank Mono", "霞鹜文楷", serif;
}

.home-container {
  width: 100%;
  height: 100%;
  background: url("../../static/image/公孙离-离恨烟.gif") no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;

  .admin-container {
    width: 600px;
    height: 400px;
    border-radius: 5px;
    background: url('../image/lm.png') no-repeat center/cover;

    .admin-title {
      width: 100%;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      font-weight: bold;
      margin-top: 50px;
    }

    .admin-content {
      width: 100%;
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      margin-top: 50px;

      //登录按钮样式
      .admin-btn {
        display: block;
        width: 100px;
        padding: 10px;
        text-align: center;
        background-color: #007bff;
        color: #fff;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;

        &:hover {
          background-color: #0056b3;
        }
      }

      .input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        margin-bottom: 15px;

        label {
          display: inline-block;
          width: 80px;
          margin-bottom: 5px;
          font-weight: bold;
        }

        input[type="text"] {
          flex: 1;
          width: 100%;
          padding: 10px;
          border: 1px solid #ccc;
          border-radius: 5px;
          font-size: 14px;
          box-sizing: border-box;

          &:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
          }
        }

        input[type="checkbox"] {
          display: none;

          &:checked + .checkbox-custom {
            background-color: #007BFF;

            &::after {
              transform: translate(-50%, -50%) scale(1);
            }
          }
        }

        .checkbox-wrapper {
          position: relative;
          width: 10px;
          height: 10px;
        }

        .checkbox-custom {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          border: 2px solid #007BFF;
          border-radius: 50%;
          cursor: pointer;
          background-color: white;

          &::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 10px;
            height: 10px;
            background-color: #007BFF;
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.2s ease-in-out;
          }
        }

        .clear-btn {
          position: absolute;
          top: 50%;
          right: 10px;
          transform: translateY(-50%);
          border: none;
          background: none;
          font-size: 18px;
          cursor: pointer;
          color: #aaa;
        }

        .clear-btn:hover {
          color: #333;
        }
      }
    }
  }
}